home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-21 | 626 b | 27 lines | [TEXT/RLAB] |
- VECTOR:
-
- A vector (a row matrix) can be created with the shorthand
- notation:
-
- d1 : d2
-
- or
-
- d1 : d2 : d3
-
- Where d1 = vector start value
- d2 = vector ending value
- d3 = vector increment/decrement value
-
- The vector increment value takes precedence when the increment
- does not divide evenly into the difference between d1 and d2.
- If it is important for the end value (d2) to take precedence,
- then use the function linspace.
-
- If d2 > d1, and d3 is not specified, then an empty vector is
- created.
-
- If d2 > d1, and d3 > 0, then an empty vector is created.
-
- If d1 > d2, and d3 < 0, then an empty vector is created.
-